Skip to content

Add bind parameter support to Database API#219

Merged
penberg merged 1 commit intomainfrom
api
May 4, 2026
Merged

Add bind parameter support to Database API#219
penberg merged 1 commit intomainfrom
api

Conversation

@penberg
Copy link
Copy Markdown
Contributor

@penberg penberg commented Apr 28, 2026

Currently, you need to first prepare a statement to use bind parameters. Add convience wrappers to Database so that callers are not required to do that. This allows optimization too for the Turso serverless driver too, because we no longer need two round trips per query, one for prepare and anoher for query.

Currently, you need to first prepare a statement to use bind parameters. Add
convience wrappers to Database so that callers are not required to do that.
This allows optimization too for the Turso serverless driver too, because we
no longer need two round trips per query, one for prepare and anoher for
query.
@penberg penberg merged commit 22781c1 into main May 4, 2026
16 checks passed
@penberg penberg deleted the api branch May 4, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant